/*
 * $Id: AbstractRequestList.java,v 1.3 2009/07/24 18:27:42 oliver Exp $
 *
 * Copyright (C) 2006 General Electric Company. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of the General
 * Electric Company (GE). You shall not disclose this software and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with GE.
 *
 * GE MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
 * NON-INFRINGEMENT. GE SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE
 * AS A RESULT OF USING, MODIFYING, OR DISTRIBUTING THIS SOFTWARE OR ITS
 * DERIVATIVES.
 */

/*
 * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
 * by MyEclipse Hibernate tool integration.
 *
 * Created Wed Dec 31 15:32:24 CST 2008 by MyEclipse Hibernate Tool.
 */
package com.ge.healthcare.autosc.common.database.pojo;

import java.io.Serializable;

/**
 * A class that represents a row in the ACT_REQUEST_LIST table. 
 * You can customize the behavior of this class by editing the class, {@link ActRequestList()}.
 * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
 * by MyEclipse Hibernate tool integration.
 */
public abstract class AbstractRequestList 
    implements Serializable
{
    /**
	 * Eclipse generated
	 */
	private static final long serialVersionUID = 3132921138546075667L;

	/** The cached hash code value for this instance.  Setting to 0 triggers re-calculation. */
    private int hashValue = 0;

    /** The composite primary key value. */
    private java.lang.Long requestListId;

   /** The value of the simple requestType property. */
    private Long requestTypeId;
    
    /** The value of the simple batch_id property. */
    private Long batchId;

    /** The value of the simple enterDate property. */
    private java.util.Date enterDate;

    /** The value of the simple scheduledDate property. */
    private java.util.Date scheduledDate;

    /** The value of the simple passFailCount property. */
    private java.lang.Long passCount;
    
    private java.lang.Long failCount;

    /** The value of the simple validInvalidCount property. */
    private java.lang.Long validCount;
    
    private java.lang.Long invalidCount;

    /**
     * Simple constructor of AbstractRequestList instances.
     */
    public AbstractRequestList()
    {
    }

    /**
     * Constructor of AbstractRequestList instances given a simple primary key.
     * @param requestListId
     */
    public AbstractRequestList(java.lang.Long requestListId)
    {
        this.setRequestListId(requestListId);
    }

    /**
     * Return the simple primary key value that identifies this object.
     * @return java.lang.Long
     */
    public java.lang.Long getRequestListId()
    {
        return requestListId;
    }

    /**
     * Set the simple primary key value that identifies this object.
     * @param requestListId
     */
    public void setRequestListId(java.lang.Long requestListId)
    {
        this.hashValue = 0;
        this.requestListId = requestListId;
    }

    /**
     * Return the value of the REQUEST_TYPE column.
     * @return java.lang.String
     */
    public Long getRequestTypeId()
    {
        return this.requestTypeId;
    }

    /**
     * Set the value of the REQUEST_TYPE column.
     * @param requestType
     */
    public void setRequestTypeId(Long requestTypeId)
    {
        this.requestTypeId = requestTypeId;
    }

    /**
     * Return the value of the ENTER_DATE column.
     * @return java.util.Date
     */
    public java.util.Date getEnterDate()
    {
        return this.enterDate;
    }

    /**
     * Set the value of the ENTER_DATE column.
     * @param enterDate
     */
    public void setEnterDate(java.util.Date enterDate)
    {
        this.enterDate = enterDate;
    }

    /**
     * Return the value of the SCHEDULED_DATE column.
     * @return java.util.Date
     */
    public java.util.Date getScheduledDate()
    {
        return this.scheduledDate;
    }

    /**
     * Set the value of the SCHEDULED_DATE column.
     * @param scheduledDate
     */
    public void setScheduledDate(java.util.Date scheduledDate)
    {
        this.scheduledDate = scheduledDate;
    }

    public java.lang.Long getPassCount() {
		return passCount;
	}

	public void setPassCount(java.lang.Long passCount) {
		this.passCount = passCount;
	}

	public java.lang.Long getFailCount() {
		return failCount;
	}

	public void setFailCount(java.lang.Long failCount) {
		this.failCount = failCount;
	}

	public java.lang.Long getValidCount() {
		return validCount;
	}

	public void setValidCount(java.lang.Long validCount) {
		this.validCount = validCount;
	}

	public java.lang.Long getInvalidCount() {
		return invalidCount;
	}

	public void setInvalidCount(java.lang.Long invalidCount) {
		this.invalidCount = invalidCount;
	}

	public java.lang.Long getBatchId() {
		return batchId;
	}

	public void setBatchId(java.lang.Long batchId) {
		this.batchId = batchId;
	}

	
    /**
     * Implementation of the equals comparison on the basis of equality of the primary key values.
     * @param rhs
     * @return boolean
     */
    public boolean equals(Object rhs)
    {
        if (rhs == null)
            return false;
        if (! (rhs instanceof ActRequestList))
            return false;
        ActRequestList that = (ActRequestList) rhs;
        if (this.getRequestListId() == null || that.getRequestListId() == null)
            return false;
        return (this.getRequestListId().equals(that.getRequestListId()));
    }

    /**
     * Implementation of the hashCode method conforming to the Bloch pattern with
     * the exception of array properties (these are very unlikely primary key types).
     * @return int
     */
    public int hashCode()
    {
        if (this.hashValue == 0)
        {
            int result = 17;
            int requestListIdValue = this.getRequestListId() == null ? 0 : this.getRequestListId().hashCode();
            result = result * 37 + requestListIdValue;
            this.hashValue = result;
        }
        return this.hashValue;
    }
}
